package com.team.easybuy.entity;

import java.io.Serializable;

public class Car implements Serializable {
    private Integer pId;
    private String pName;
    private Integer pCount;
    private Double pPrice;
    private String pImage;

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public Integer getpCount() {
        return pCount;
    }

    public void setpCount(Integer pCount) {
        this.pCount = pCount;
    }

    public Double getpPrice() {
        return pPrice;
    }

    public void setpPrice(Double pPrice) {
        this.pPrice = pPrice;
    }

    public String getpImage() {
        return pImage;
    }

    public void setpImage(String pImage) {
        this.pImage = pImage;
    }

    @Override
    public String toString() {
        return "Car{" +
                "pId=" + pId +
                ", pName='" + pName + '\'' +
                ", pCount=" + pCount +
                ", pPrice=" + pPrice +
                ", pImage='" + pImage + '\'' +
                '}';
    }
}
